The Tab View Component > FTabView.setEnabled() |
FTabView.setEnabled()
Availability
Flash Player 6.
Usage
myTab_tbv.setEnabled (enabled)
Parameters
enabled A Boolean value specifying whether the component is enabled (true)
or disabled (false).
Returns
Nothing
Description
Specifies whether the component is enabled (true) or disabled (false). If
the component is disabled, it will not accept mouse or keyboard interaction
from the user. The component will also be grayed-out to visually indicate its
state to the user.
Example
The following code disabled the component, and then traces its state.
myTab_tbv.setEnabled( false ); trace( "Enabled: " + myTab_tbv.getEnabled( ) ); //traces "Enabled: false"
See also